public void DoesUserExist() { //arrange IUserCollection userCollection = UserCollectionFactory.GetUserCollection(); UserDTO userDTO = new UserDTO("DoesUserExistTest", "AddUserTestPassword"); userCollection.AddUser(userDTO); //act bool exists = userCollection.DoesUserExist("DoesUserExistTest"); //assert Assert.AreEqual(exists, true); }