@Test
public void virtualMachineCountTwoTest() throws NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException {

    when(vsg.getId()).thenReturn(3L);
    SecurityGroupResponse securityGroupResponse = _securityGroupJoinDaoImpl.newSecurityGroupResponse(vsg, caller);
    Field virtualMachineCount = securityGroupResponse.getClass().getDeclaredField("virtualMachineCount");
    virtualMachineCount.setAccessible(true);
    assertEquals(2, ((Integer)virtualMachineCount.get(securityGroupResponse)).intValue());
}