public void ShouldRemoveMenu() { GivenMenuInContext(SomeMenu); WhenRemove(SomeMenu.ID); WhenGet(SomeMenu.ID); ThenMenu.Should().BeNull(); }
public void ShouldReturnNullForNotFoundMenu() { GivenMenuInContext(SomeMenu); WhenGet(5); ThenMenu.Should().BeNull(); }