public void Sample_MethodResultIsDto()
        {
            dynamic isolated = new DynamicMock();

            isolated.LoadSomeDtoWithVeryLongName().Returns(new { Id = 42, Name = "subbotnik" });

            ISampleInterface result = isolated;

            var actual = result.LoadSomeDtoWithVeryLongName();

            var expected = new SomeDtoWithVeryLongName {
                Id = 42, Name = "subbotnik"
            };

            Assert.AreEqual(expected, actual);
        }
        public void Sample_MethodResultSimplifiedNames()
        {
            dynamic isolated = new DynamicMock();

            isolated.Load_().Returns(new { _Value = 156 });

            ISampleInterface result = isolated;

            var actual = result.LoadSomeDtoWithVeryLongName();

            var expected = new SomeDtoWithVeryLongName {
                VeryLongPropertyButAnywayItMeansValue = 156
            };

            Assert.AreEqual(expected, actual);
        }