public void GetByUserNameTest() { cgUserDB = new CGUserDB(); CGUserModel testUser = cgUserDB.GetByUserName("Test"); Assert.AreEqual("Test", testUser.UserName); }