Пример #1
0
 public void testAddOwners() {
   acp.addOwner("joe");
   String[] owners = acp.getOwners();
   assertEquals(1, owners.length);
   assertEquals("joe", owners[0]);
 }
Пример #2
0
 public void testSetOwners() {
   acp.setOwners(new String[] {});
   String[] owners = acp.getOwners();
   assertEquals(0, owners.length);
 }
Пример #3
0
 public void testGetOwners() {
   String[] owners = acp.getOwners();
   assertEquals(0, owners.length);
 }