public void DeleteRole() { //given var me = SeedData.CreateAdminUser(Context); ISecurityProvider provider = new SecurityProvider(Context, me); var newRole = SeedData.CreateRole(Context, "Director"); //when provider.DeleteRole(newRole.Id); //then provider.GetRole(newRole.Id).ShouldBeNull(); }