private void injectDeploymentProvider(Context context, Object testCase, Field field)
{
try
{
TestClass testClass = new TestClass(testCase.getClass());
field.set(testCase, getDeploymentProvider(context, testClass));
}
catch (IllegalAccessException ex)
{
throw new IllegalStateException("Cannot inject DeploymentProvider", ex);