@Before public void setUp() { SecurityGroupUtils.setUp(); securityGroupAddedMock = PowerMockito.spy(new SecurityGroupAddedImpl(SecurityGroupUtils.securityGroupMock)); neutronSecurityGroup = securityGroupAddedMock.getSecurityGroup(); }
@Test public void testParametersNotNull() { assertNotNull(neutronSecurityGroup.getSecurityGroupID()); assertNotNull(neutronSecurityGroup.getSecurityGroupName()); assertNotNull(neutronSecurityGroup.getSecurityGroupDescription()); assertNotNull(neutronSecurityGroup.getSecurityTenantID()); assertNotNull(neutronSecurityGroup.getSecurityRules()); assertNotNull(securityGroupAddedMock.getTimeStamp()); }