public void ComputeAggregateNameReturnsNullWhenTypeQualifiedNameIsNotMadeOfExactlyFiveTokens() { var sut = new NamingConventionSpy(); sut.ComputeAggregateNameSpy(typeof(SampleApplication)).Should().BeNull(); sut.ComputeAggregateNameSpy(typeof(FinanceSampleApplication)).Should().BeNull(); sut.ComputeAggregateNameSpy(typeof(StandaloneReceivePort)).Should().BeNull(); }
public void ComputeAggregateNameReturnsFourthTokenOfTypeQualifiedNameMadeOfExactlyFiveTokens() { var sut = new NamingConventionSpy(); sut.ComputeAggregateNameSpy(typeof(TaxAgencyReceivePort)).Should().Be("Invoice"); }