@Test public void getEntityManagerForwardsCalls() { this.component.getEntityManager(PATIENTS); verify(this.resolver, times(1)).getEntityManager(PATIENTS); verifyNoMoreInteractions(this.resolver); }
@Nullable public PrimaryEntityManager<?> getEntityManager(@Nullable final String entityType) { return this.resolver.getEntityManager(entityType); }
PrimaryEntityResolverScriptService implements ScriptService { @Nullable public PrimaryEntityManager<?> getEntityManager(@Nullable final String entityType) { return this.resolver.getEntityManager(entityType); } }
PrimaryEntityResolverScriptService implements ScriptService { @Nullable public PrimaryEntityManager<?> getEntityManager(@Nullable final String entityType) { return this.resolver.getEntityManager(entityType); }  }
PrimaryEntityResolverScriptService implements ScriptService { @Nullable public PrimaryEntityManager<?> getEntityManager(@Nullable final String entityType) { return this.resolver.getEntityManager(entityType); }  @Nullable PrimaryEntity resolve(@Nullable final String entityId); @Nullable PrimaryEntityManager<?> getEntityManager(@Nullable final String entityType); boolean hasEntityManager(@Nullable final String entityType); }
PrimaryEntityResolverScriptService implements ScriptService { @Nullable public PrimaryEntityManager<?> getEntityManager(@Nullable final String entityType) { return this.resolver.getEntityManager(entityType); }  @Nullable PrimaryEntity resolve(@Nullable final String entityId); @Nullable PrimaryEntityManager<?> getEntityManager(@Nullable final String entityType); boolean hasEntityManager(@Nullable final String entityType);  }