public void PropertiesTab_GetDefaultProperty_InvokeWithDefaultProperty_ReturnsExpected() { var tab = new PropertiesTab(); Assert.Equal("Value", tab.GetDefaultProperty(new ClassWithDefaultProperty()).Name); }
public void PropertiesTab_GetDefaultProperty_InvokeNullComponent_ReturnsExpected() { var tab = new PropertiesTab(); Assert.Null(tab.GetDefaultProperty(null)); }
public void PropertiesTab_GetDefaultProperty_InvokeWithoutDefaultProperty_ReturnsExpected() { var tab = new PropertiesTab(); Assert.Null(tab.GetDefaultProperty(new ClassWithoutDefaultProperty())); }