### Question:
AndroidLibraryStrategy extends PlainBuildStrategy { @Override public Task createBazelExecTask(Project project) { final BazelBuildTask bazelBuildTask = (BazelBuildTask) super.createBazelExecTask(project); bazelBuildTask.setBazelConfig(new BazelLeafConfig.Decorated( mConfig.bazelBin, mConfig.targetPath, mConfig.targetName + ".aar", mConfig.testTargetName, mConfig.workspaceRootFolder, mConfig.buildOutputDir)); return bazelBuildTask; } AndroidLibraryStrategy(BazelLeafConfig.Decorated config); @Override Task createBazelExecTask(Project project); @Override List<BazelPublishArtifact> getBazelArtifacts(AspectRunner aspectRunner, Project project, Task bazelExecTask);  }### Answer:
@Test public void testConfiguration() { Project project = TestUtils.createConfiguredAppliedProject(); BazelLeafConfig.Decorated decoratedConfig = new BazelLeafConfig.Decorated( "bazelBin", "targetPath", "targetName", "testTargetName", new File("workspaceDir"), "outputDir" ); AndroidLibraryStrategy androidLibraryStrategy = new AndroidLibraryStrategy(decoratedConfig); BazelBuildTask createdTask = (BazelBuildTask) androidLibraryStrategy.createBazelExecTask(project); assertThat(createdTask, IsNull.notNullValue()); assertThat(createdTask.getDescription(), IsEqual .equalTo(String.format("Compiles Bazel target %s:%s", "targetPath", "targetName.aar"))); }