public void ShouldConvertSearchDetailModel()
        {
            var expected = new AnyStockDetailModel();

            object result = this.testee.Convert(expected, null, null, CultureInfo.InvariantCulture);

            result.As<string>().Should().NotBeNull().And.Be("AnyCompany\r\nAnyFund:AnySymbol");
        }
        public void ShouldReturnDetails()
        {
            var expectedDetail = new AnyStockDetailModel();
            this.stockService.Setup(s => s.Get(this.symbol)).Returns(expectedDetail);

            var testee = this.CreateTestee();

            testee.Execute(new ActionExecutionContext());

            this.detail.Value.Should().Be(expectedDetail);
        }