public void CheckUsername_ShouldNotWork(string username) { ValidateHelper validateHelper = new ValidateHelper(null); //var expected = true; var actual = validateHelper.CheckUsername(username); Assert.False(actual); }