public void WhenRemovePropertyThatDoesNotExist_ThrowsException() { _stateBroker = new StateBroker(); var stars = new ObservableStateProperty <int>(10); Assert.Throws <Exception>(() => { _stateBroker.RemoveProperty(stars); }); }