Untitled
unknown
java
2 years ago
745 B
4
Indexable
package airflow; public class ugwvcu { @Test //POS public void testForPOS(){ when(mockObject.isPOS()).thenReturn(true); String result = getTermProtcl(); assertEquals(CreateLocale.TERMINAL_PROTOCOL_IPPUB.getvalue(),result); } @Test public void testForMonerisGoPortal(){ when(mockObject.isMonerisGoPortal()).thenReturn(true); String result = getTermProtcl(); assertEquals(CreateLocale.TERMINAL_PROTOCOL_IPML.getvalue(),result); } @Test public void testForWirelessMonerisGoDevice(){ when(mockObject.isWireless()).thenReturn(true); when(mockObject.isMonerisGoDevice()).thenReturn(true); String result = getTermProtcl(); assertEquals(CreateLocale.TERMINAL_PROTOCOL_IPML.getvalue(),result); } }
Editor is loading...