use of io.github.vocabhunter.gui.common.Placement in project VocabHunter by VocabHunter.
the class PlacementManagerTest method testInvisibleSettings.
@Test
public void testInvisibleSettings() {
when(environmentManager.isVisible(any(Placement.class))).thenReturn(false);
when(settingsManager.getWindowSettings()).thenReturn(Optional.of(windowSettings));
Placement result = target.getMainWindow();
assertEquals(result, DEFAULT_WINDOW_SIZE, "Invisible settings");
}
Aggregations