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