public void BrandName_CompareToBrandNameGreaterName_ReturnsMinusOne() { var brandName = BrandNameBuilder.NewBrandName; var brandName2 = BrandNameBuilder.WithName("zzz"); Assert.Equal(-1, brandName.CompareTo(brandName2)); }
public void BrandName_CompareToBrandNameLesserName_ReturnsOne() { var brandName = BrandNameBuilder.NewBrandName; var brandName2 = BrandNameBuilder.WithName("aaa"); Assert.Equal(1, brandName.CompareTo(brandName2)); }
public void BrandName_EqualsBrandNameDifferentName_ReturnsFalse() { var brandName = BrandNameBuilder.NewBrandName; var brandName2 = BrandNameBuilder.WithName("test name"); Assert.NotEqual(brandName, brandName2); }