mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-14 04:16:14 +00:00
Removing test case
This commit is contained in:
1 parent
49feead13f
commit
6167d06dce
1 file changed
-10
-10
@@ -62,14 +62,4 @@ public class ConfigureForUnixVisitorTest {
|
|||||||
assertThat(logger.getLoggingEvents()).extracting("level", "message").contains(
|
assertThat(logger.getLoggingEvents()).extracting("level", "message").contains(
|
||||||
tuple(INFO, zoom + " used with Unix configurator."));
|
tuple(INFO, zoom + " used with Unix configurator."));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
public void testVisitForHayes() {
|
|
||||||
ConfigureForUnixVisitor conUnix = new ConfigureForUnixVisitor();
|
|
||||||
Hayes hayes = mock(Hayes.class);
|
|
||||||
|
|
||||||
Assertions.assertThrows(ClassCastException.class, () -> {
|
|
||||||
((HayesVisitor)conUnix).visit(hayes);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user