Beispiel #1
0
        public void Given_Valid_Arguments_When_I_Call_RemoveRole_Then_The_Correct_Service_Method_Is_Called()
        {
            //act
            _sut.RemoveRole(_name);

            //assert
            _roleServiceMock.Verify(v => v.RemoveRole(_connectionModel, _name), Times.Once);
        }
        public void RemoveUserRole(string name)
        {
            name.ThrowExceptionIfNullOrEmpty("name");

            _blaiseApi.RemoveRole(name);
        }