ServiceTarget mockServiceTarget = Mockito.mock(ServiceTarget.class);
Mockito.when(mockServiceTarget.addService(
Mockito.eq(ServiceName.JBOSS.append("configadmin", "data_initialization")),
Mockito.any(Service.class))).
thenReturn(mockBuilder);
<BUG>OperationContext mockOperationContext = Mockito.mock(OperationContext.class);
Mockito.when(mockOperationContext.getServiceRegistry(true)).thenReturn(mockServiceRegistry);</BUG>
Mockito.when(mockOperationContext.getServiceTarget()).thenReturn(mockServiceTarget);
<BUG>Hashtable<String, String> values = new Hashtable<String, String>();
values.put("a", "aa");
values.put("b", "bb");
ModelNode operation = getOperationModelNode("a.b.c", values);
ConfigurationAdd.INSTANCE.performRuntime(mockOperationContext, operation, null, null, null);
</BUG>
Mockito.verify(mockBuilder).addDependency(

ServiceTarget mockServiceTarget = Mockito.mock(ServiceTarget.class);
Mockito.when(mockServiceTarget.addService(
Mockito.eq(ServiceName.JBOSS.append("configadmin", "data_initialization")),
Mockito.any(Service.class))).
thenReturn(mockBuilder);
OperationContext mockOperationContext = Mockito.mock(OperationContext.class);
Mockito.when(mockOperationContext.resolveExpressions(aValue)).thenReturn(aValue);
Mockito.when(mockOperationContext.resolveExpressions(bValue)).thenReturn(bValue);
Mockito.when(mockOperationContext.getServiceRegistry(true)).thenReturn(mockServiceRegistry);
Mockito.when(mockOperationContext.getServiceTarget()).thenReturn(mockServiceTarget);
ConfigurationAdd.INSTANCE.performRuntime(mockOperationContext, operation, model, null, null);
Mockito.verify(mockBuilder).addDependency(
