def test_no_deployjar_run(self):
    self.assertEquals({
          'Gson': 'moc.elgoog.nosg.Gson',
          'Third': 'org.pantsbuild.testproject.shading.Third',
          'Second': 'hello.org.pantsbuild.testproject.shading.Second',
      },
      json.loads(self.bundle_and_run(
        'testprojects/src/java/org/pantsbuild/testproject/shading:third',
        'testprojects.src.java.org.pantsbuild.testproject.shading.third',
        bundle_jar_name='third',
        bundle_options=['--no-deployjar'],
        # The shaded jars are no longer symlinks to .pants.d, they are actual files.
        library_jars_are_symlinks=False,
        expected_bundle_content=[
          'libs/3rdparty.gson-0.jar',
          'libs/testprojects.src.java.org.pantsbuild.testproject.shading.third_lib-0.jar',
          'third.jar']).strip()))
Emulate __getitem__ method
dataset/ETHPy150Open pantsbuild/pants/tests/python/pants_test/backend/jvm/subsystems/test_shader_integration.py/ShaderIntegrationTest.test_no_deployjar_run--crossover with--dataset/ETHPy150Open taoliu/taolib/Assoc/tables.py/Table.__getitem__