public void Convert_ShouldReturnSolidBrushHex3A66A7_WhenValueIsFalse() { BottomBarColorConverter bottomBarColorConverter = new BottomBarColorConverter(); var result = bottomBarColorConverter.Convert(false, null, null, null); Assert.AreEqual(((SolidColorBrush) new BrushConverter().ConvertFrom("#3A66A7")).ToString(), result.ToString()); }
public void Convert_ShouldReturnSolidBrushHexFF9912_WhenValueIsTrue() { BottomBarColorConverter bottomBarColorConverter = new BottomBarColorConverter(); var result = bottomBarColorConverter.Convert(true, null, null, null); Assert.AreEqual(((SolidColorBrush) new BrushConverter().ConvertFrom("#FF9912")).ToString(), result.ToString()); }