### Question:
FedoraUsers implements Serializable, Constants { public static FedoraUsers getInstance() { return getInstance(fedoraUsersXML.toURI()); } FedoraUsers(); static FedoraUsers getInstance(); static FedoraUsers getInstance(URI fedoraUsersXML); List<Role> getRoles(); List<User> getUsers(); void addRole(Role role); void addUser(User user); void write(Writer outputWriter); static File fedoraUsersXML; }### Answer:
@Test public void testGetInstance() throws Exception { FedoraUsers fu = FedoraUsers.getInstance(); assertNotNull(fu); }
@Test public void testGetInstanceString() throws Exception { String fedoraUsersXML = "src/main/resources/fcfg/server/fedora-users.xml"; File f = new File(fedoraUsersXML); FedoraUsers fu = FedoraUsers.getInstance(f.toURI()); assertNotNull(fu); }