public void Constructor_NullText_Throws() { SubtitleText nullText = null; Assert.Catch <ArgumentNullException>( () => new Subtitle( SubtitleIdTests.CreateId1(), SubtitleTimestampsTests.CreateTimestamps(), nullText)); }
public void Constructor_NullId_Throws() { SubtitleId nullId = null; Assert.Catch <ArgumentNullException>( () => new Subtitle( nullId, SubtitleTimestampsTests.CreateTimestamps(), CreateStubSubtitleText())); }