public void ObjectSelectorEditor_EqualsToValue_InvokeWithValue_ReturnsExpected() { var editor = new SubObjectSelectorEditor(); editor.SetValue("value"); Assert.True(editor.EqualsToValue("value")); Assert.False(editor.EqualsToValue("other value")); Assert.False(editor.EqualsToValue(null)); }
public void ObjectSelectorEditor_EqualsToValue_InvokeWithoutValue_ReturnsExpected(object value, bool expected) { var editor = new SubObjectSelectorEditor(); Assert.Equal(expected, editor.EqualsToValue(value)); }