@Test
public void wrap_ofWrapped_sameMode_returnsUnchanged() throws Exception {

    // given
    final DomainObject wrappedObject = new DomainObject();
    final DomainObject domainObject = new WrappingDomainObject(wrappedObject, ImmutableEnumSet.noneOf(ExecutionMode.class));
    // when
    final DomainObject wrappingObject = wrapperFactory.wrap(domainObject);
    // then
    assertThat(wrappingObject, is(domainObject));
    assertThat(createProxyCalledWithDomainObject, is(nullValue()));
}