public void GetFormatShouldReturnCorrectFormatProvider( DateTimeFormatProvider provider, Type formatType, object expected ) { // arrange // act var actual = provider.GetFormat( formatType ); // assert Assert.Same( expected, actual ); }
public void GetFormatShouldReturnNullForUnsupportedFormatTypes( DateTimeFormatProvider provider, Type formatType ) { // arrange // act var actual = provider.GetFormat( formatType ); // assert Assert.Null( actual ); }