Esempio n. 1
0
        public void HasFields_OnSequence_ReturnsResultsWithNonNullFieldValues()
        {
            TestObject[] hasFields = connection.Run(testTable.HasFields(m => m.Name)).ToArray();

            Assert.That(hasFields.Length, Is.EqualTo(2));
            Assert.That(hasFields, Has.Exactly(1).EqualTo(new TestObject {
                Id = "2"
            }));
            Assert.That(hasFields, Has.Exactly(1).EqualTo(new TestObject {
                Id = "4"
            }));
        }