Buggy code:
public abstract class AbstractProxyControllerTest { private ExecutorService executor ; private NewModelControllerClient mainControllerClient ; private NewModelControllerClient proxiedControllerClient ; private ServiceContainer container ; @ Before public void setupController ( ) throws InterruptedException { } @ After public void shutdownServiceContainer ( ) { } @ Test public void testRecursiveReadResourceDescriptionOperation ( ) throws Exception { } @ Test public void testRecursiveReadResourceDescriptionOperationForAddressInOtherController ( ) throws Exception { } @ Test public void testRecursiveReadResourceDescriptionWithOperations ( ) throws Exception { } @ Test public void testRecursiveReadSubModelOperation ( ) throws Exception { } @ Test public void testRecursiveReadSubModelOperationForAddressInOtherController ( ) throws Exception { } @ Test public void testWriteAttributeOperation ( ) throws Exception { } @ Test public void testWriteAttributeOperationInChildController ( ) throws Exception { } @ Test public void testWriteAttributeOperationSanity ( ) throws Exception { } @ Test public void testReadAttributeOperationInChildController ( ) throws Exception { } @ Test public void testReadOperationNames ( ) throws Exception { } @ Test public void testReadOperationDescription ( ) throws Exception { NewOperation read = createOperation ( READ_OPERATION_DESCRIPTION_OPERATION ) ; read . getOperation ( ) . get ( NAME ) . set ( READ_ATTRIBUTE_OPERATION ) ; ModelNode result = mainControllerClient . execute ( read ) ; checkReadAttributeOperationDescription ( result . get ( RESULT ) ) ; read = createOperation ( READ_OPERATION_DESCRIPTION_OPERATION , HOST , "hostA" ) ; read . getOperation ( ) . get ( NAME ) . set ( READ_ATTRIBUTE_OPERATION ) ; result = mainControllerClient . execute ( read ) ; checkReadAttributeOperationDescription ( result . get ( RESULT ) ) ; read = createOperation ( READ_OPERATION_DESCRIPTION_OPERATION , HOST , "hostA" , "hostchild" , "hcA" ) ; read . getOperation ( ) . get ( NAME ) . set ( READ_ATTRIBUTE_OPERATION ) ; result = mainControllerClient . execute ( read ) ; <START_BUG> Assert . assertFalse ( result . get ( RESULT ) . isDefined ( ) ) ; <END_BUG> } @ Test public void testReadChildNames ( ) throws Exception { } @ Test public void testReadChildTypes ( ) throws Exception { } private void checkReadAttributeOperationDescription ( ModelNode result ) { } private void checkOperationNames ( ModelNode operationNamesList , boolean isInHost ) { } private void checkRootSubModelDescription ( ModelNode result , boolean operations ) { } private void checkHostSubModelDescription ( ModelNode result , boolean operations ) { } private void checkHostChildSubModelDescription ( ModelNode result , boolean operations ) { } private void checkHostChildChildSubModelDescription ( ModelNode result , boolean operations ) { } private void checkRootNode ( ModelNode result ) { } private void checkHostNode ( ModelNode result ) { } private NewOperation createOperation ( String operationName , String ... address ) { } protected abstract NewProxyController createProxyController ( NewModelController proxiedController , PathAddress proxyNodeAddress ) { } public class MainModelControllerService extends AbstractControllerService { private final CountDownLatch latch = new CountDownLatch ( 1 ) ; private final InjectedValue < NewModelController > proxy = new InjectedValue < NewModelController > ( ) ; MainModelControllerService ( final ServiceContainer serviceContainer , final ControlledProcessState processState ) { } @ Override public void start ( StartContext context ) throws StartException { } protected ModelNode createCoreModel ( ) { } protected void initModel ( ModelNodeRegistration rootRegistration ) { } } public class ProxyModelControllerService extends AbstractControllerService { ProxyModelControllerService ( final ServiceContainer serviceContainer , final ControlledProcessState processState ) { } @ Override public void start ( StartContext context ) throws StartException { } protected ModelNode createCoreModel ( ) { } protected void initModel ( ModelNodeRegistration rootRegistration ) { } } static class DelegatingProxyController implements NewProxyController { NewProxyController delegate ; void setDelegate ( NewProxyController delegate ) { } @ Override public PathAddress getProxyNodeAddress ( ) { } @ Override public void execute ( ModelNode operation , OperationMessageHandler handler , ProxyOperationControl control , OperationAttachments attachments ) { } } }

Fix:
checkReadAttributeOperationDescription ( result . get ( RESULT ) ) ;