public void GetPublicBrands_calls_data_service_method_and_returns_public_results() { // Given var expectedBrands = Builder <BrandDetail> .CreateListOfSize(5).All().With(b => b.IncludeOnLanding = true) .Build(); A.CallTo(() => brandsDataService.GetAllBrands()) .Returns(expectedBrands); // When var result = brandsService.GetPublicBrands(); // Then result.Should().Equal(expectedBrands); }