public void ComputeAreaReturnsNullWhenTypeQualifiedNameIsNotMadeOfExactlyFiveTokens() { var sut = new NamingConventionDouble(); Assert.That(sut.ComputeAreaSpy(typeof(SampleApplication)), Is.Null); Assert.That(sut.ComputeAreaSpy(typeof(SampleApplicationWithArea)), Is.Null); Assert.That(sut.ComputeAreaSpy(typeof(StandaloneReceivePort)), Is.Null); }
public void ComputeAreaReturnsFourthTokenOfTypeQualifiedNameMadeOfExactlyFiveTokens() { var sut = new NamingConventionDouble(); Assert.That(sut.ComputeAreaSpy(typeof(TaxAgencyReceivePort)), Is.EqualTo("Invoice")); }