Example #1
0
        public void rootObject_should_be_retrieved_from_database()
        {
            var rootObjectId = 1;
            var hashedValue  = _rootObjectRepository.GetRootObject(rootObjectId);

            Assert.IsNotNull(hashedValue);
            Assert.IsTrue(hashedValue.Id > 0);
        }
Example #2
0
 public RootObject GetRootObject(int id)
 {
     return(_rootObjectRepository.GetRootObject(id));
 }