public void IfNoPluginIsPassedItsResolved() { AssetColorValueConverter conv = new AssetColorValueConverter(); var font = conv.Convert(_fixture.Ioc.Resolve <IAssetPlugin>(), typeof(Color), "Red", null); font.Should().BeNull(); }
public void IfColorIsNotFoundReturnNull() { AssetColorValueConverter conv = new AssetColorValueConverter(); var font = conv.Convert(_fixture.Ioc.Resolve <IAssetPlugin>(), typeof(Color), "11", null); font.Should().BeNull(); }
public void ShouldConstruct() { AssetColorValueConverter conv = new AssetColorValueConverter(); conv.Should().NotBeNull(); }