Resolution context static factory methods and tests.