1 package org.onap.vid.asdc.beans;
3 import java.util.Collection;
7 public class SecureServicesTest {
9 private SecureServices createTestSubject() {
10 return new SecureServices();
14 public void testSetServices() throws Exception {
15 SecureServices testSubject;
16 Collection<Service> services = null;
19 testSubject = createTestSubject();
20 testSubject.setServices(services);
24 public void testGetServices() throws Exception {
25 SecureServices testSubject;
26 Collection<Service> result;
29 testSubject = createTestSubject();
30 result = testSubject.getServices();
34 public void testIsReadOnly() throws Exception {
35 SecureServices testSubject;
39 testSubject = createTestSubject();
40 result = testSubject.isReadOnly();
44 public void testSetReadOnly() throws Exception {
45 SecureServices testSubject;
46 boolean readOnly = false;
49 testSubject = createTestSubject();
50 testSubject.setReadOnly(readOnly);