@Test
public void getStartTypeTest() {

    Mockito.doReturn("WakeOnLan").when(jdbcTemplate).queryForObject(Mockito.eq(sqlGetStartType), Mockito.eq(String.class), Mockito.eq(0l));
    StartType result = spy.getStartType(0l);
    Mockito.verify(jdbcTemplate).queryForObject(Mockito.eq(sqlGetStartType), Mockito.eq(String.class), Mockito.eq(0l));
    Assert.assertEquals(StartType.WakeOnLan, result);
}