}
@SuppressWarnings("unchecked")
private void given_the_delegated_node_is_circular(final NodePath circularStartPath)
{
doThrow(new CircularReferenceException(circularStartPath)).when(circularReferenceDetector)
.push(any(), any(NodePath.class));
when(instances.getSourceAccessor()).thenReturn(RootAccessor.getInstance());
when(instances.getType()).then(returnType(Object.class));
when(instances.getWorking()).thenReturn("");