Exemple #1
0
        public void GetAnonymousTypeTest()
        {
            // Arrange
            var sut = new InvoiceController(null, null);

            // Act
            dynamic result = sut.GetAnonymousType();

            // Assert
            Assert.Equal(1, result.Content.Id);
            Assert.Equal("Miles", result.Content.Name);
        }