@Test public void testSet_GetCurrentDeviceName() throws Exception { // Assert.assertTrue(TelnetUtils.getCurrentDeviceName() == null); //test null String currentDeviceName = new String("test"); TelnetUtils.setCurrentDeviceName(currentDeviceName); Assert.assertTrue(TelnetUtils.getCurrentDeviceName().equals("test")); }