// Means that the inner was injected
Assert.assertTrue(String.format(messageDefault,
"The inner most instance was not created"), instance
.getServiceObject() != null);
S2InnerImpl innerObject = (S2InnerImpl) instance.getServiceObject();
Assert.assertTrue(String.format(messageDefault,
"The middle instance was not created"), innerObject
.getMiddle() != null);
S2MiddleImpl middleObject = (S2MiddleImpl) innerObject.getMiddle();
Assert.assertTrue(String.format(messageDefault,
"The outter most instance was not created"), middleObject
.getOutter() != null);