public void rootObject_should_be_retrieved_from_database() { var rootObjectId = 1; var hashedValue = _rootObjectRepository.GetRootObject(rootObjectId); Assert.IsNotNull(hashedValue); Assert.IsTrue(hashedValue.Id > 0); }
public RootObject GetRootObject(int id) { return(_rootObjectRepository.GetRootObject(id)); }