public void SutDoesNotEqualAnonymousObject()
        {
            var sut =
                new ApplicationDetailsHeadlineMortgageApplicationProcessor();
            var anonymous = new object();

            var actual = sut.Equals(anonymous);

            Assert.False(actual);
        }
        public void SutEqualsOther()
        {
            var sut =
                new ApplicationDetailsHeadlineMortgageApplicationProcessor();
            var other =
                new ApplicationDetailsHeadlineMortgageApplicationProcessor();

            var actual = sut.Equals(other);

            Assert.True(actual);
        }
        public void ProduceOfferReturnsCorrectResult()
        {
            var sut =
                new ApplicationDetailsHeadlineMortgageApplicationProcessor();

            var dummyApplication = new MortgageApplication();
            var actual = sut.ProduceOffer(dummyApplication);

            var expected = new[]
            {
                new Heading1Rendering("Application details")
            };
            Assert.Equal(expected, actual);
        }
 public void SutIsMortgageApplicationProcessor()
 {
     var sut =
         new ApplicationDetailsHeadlineMortgageApplicationProcessor();
     Assert.IsAssignableFrom<IMortgageApplicationProcessor>(sut);
 }