Class RestApiComparator

java.lang.Object
org.bremersee.spring.test.api.comparator.RestApiComparator

public class RestApiComparator extends Object
The rest api tester.
Author:
Christian Bremer
  • Method Details

    • assertSameApi

      public static void assertSameApi(Class<?> expected, Class<?> actual, RestApiComparatorExclusion... exclusions)
      Assert same api.
      Parameters:
      expected - the expected
      actual - the actual
      exclusions - the exclusions
    • assertSameApi

      public static void assertSameApi(org.assertj.core.api.SoftAssertions softAssertions, boolean assertAll, Class<?> expected, Class<?> actual, RestApiComparatorExclusion... exclusions)
      Assert same api.
      Parameters:
      softAssertions - the soft assertions
      assertAll - the assert all
      expected - the expected
      actual - the actual
      exclusions - the exclusions