+
+ +

Class HttpResourceExpiredFetchNotFoundTest

+
+
+ +
+
    +
  • +
    +
    @DisplayName("HttpResource - Expired - Fetch: Not Found")
    +@ExtendWith({org.springframework.test.context.junit.jupiter.SpringExtension.class,org.mockito.junit.jupiter.MockitoExtension.class})
    +public class HttpResourceExpiredFetchNotFoundTest
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
    +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        HttpResourceExpiredFetchNotFoundTest

        +
        public HttpResourceExpiredFetchNotFoundTest()
        +
      • +
      +
    • +
    +
    + +
    +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setUp

        +
        @BeforeEach
        +public void setUp()
        +
        SETUP
        +
      • +
      + + + +
        +
      • +

        test_fetch_ReportsModifications

        +
        @Test
        +@DisplayName("fetch() reports modifications")
        +public void test_fetch_ReportsModifications()
        +
        Results for calls, that did trigger a fetch
        +
      • +
      + + + +
        +
      • +

        test_exists_ReportsFalse

        +
        @Test
        +@DisplayName("exists() is false")
        +public void test_exists_ReportsFalse()
        +
      • +
      + + + +
        +
      • +

        test_isReadable_ReportsFalse

        +
        @Test
        +@DisplayName("isReadable() is false")
        +public void test_isReadable_ReportsFalse()
        +
      • +
      + + + +
        +
      • +

        test_isModified_ReportsModifications

        +
        @Test
        +@DisplayName("isModified() reports modifications")
        +public void test_isModified_ReportsModifications()
        +
      • +
      + + + +
        +
      • +

        test_HasNoContent

        +
        @Test
        +@DisplayName("getInputStream() throws FileNotFoundException")
        +public void test_HasNoContent()
        +
      • +
      + + + +
        +
      • +

        test_fetch_UpdatesData

        +
        @Test
        +@DisplayName("fetch() updates data")
        +public void test_fetch_UpdatesData()
        +
        Expected state after calls, that did trigger a fetch
        +
      • +
      + + + +
        +
      • +

        test_exists_UpdatesData

        +
        @Test
        +@DisplayName("exists() updates data")
        +public void test_exists_UpdatesData()
        +
      • +
      + + + +
        +
      • +

        test_isReadable_UpdatesData

        +
        @Test
        +@DisplayName("isReadable() updates data")
        +public void test_isReadable_UpdatesData()
        +
      • +
      + + + +
        +
      • +

        test_isModified_UpdatesData

        +
        @Test
        +@DisplayName("isModified() updates data")
        +public void test_isModified_UpdatesData()
        +
      • +
      + + + +
        +
      • +

        test_getInputStream_UpdatesData

        +
        @Test
        +@DisplayName("getInputStream() updates data")
        +public void test_getInputStream_UpdatesData()
        +
      • +
      +
    • +
    +
    +
  • +
+
+
+