public void NameEquals_GIVEN_Role_Name_Is_ABC_WHEN_roleName_Is_ABC_THEN_Returns_True() { const string RoleName = "ABC"; var role = new Role { Name = RoleName }; var result = role.NameEquals(RoleName); result.ShouldBeTrue(); }
public void NameEquals_GIVEN_Role_Name_Is_ABC_WHEN_roleName_Is_abc_THEN_Returns_False() { const string RoleName = "ABC"; const string CheckForRoleName = "abc"; var role = new Role { Name = RoleName }; var result = role.NameEquals(CheckForRoleName); result.ShouldBeFalse(); }