public void Find()
        {
            //Act
            var result = repository.Find(x => x.ID > 0).ToList();

            //Assert
            Assert.IsNotNull(result);
            Assert.IsInstanceOfType(result, typeof(IEnumerable <Type>));
            Assert.AreEqual(3, result.Count);
        }
Example #2
0
        public JobArgument(SafeReader sr, TypeRepository oTypeRepo)
        {
            sr.Fill(this);

            UnderlyingType = oTypeRepo.Find(TypeName, CanBeNull, TypeHint);
        }         // constructor