public void CreateContext() { QueryContext context = null; Assert.DoesNotThrow(() => context = new EmptyTestQueryContext(Query)); Assert.IsNotNull(context); }
public void RequestEntryNotConfigured() { var context = new EmptyTestQueryContext(Query); Assert.Throws<QueryException>(() => context.Table<EmptyTestType>().FindById(1)); }
public void RequestTableNotConfigured() { var context = new EmptyTestQueryContext(Query); Assert.DoesNotThrow(() => context.Table<EmptyTestType>()); }