### Question:
StatusUtil { public static UnconfiguredRendererEndpoint assembleNotConfigurableRendererEPForPeer(final PolicyConfigurationContext context, final PeerEndpoint peerEndpoint, final String info) { final RendererEndpoint rendererEndpoint = context.getCurrentRendererEP(); LOG.trace("Not configurable EP for peer: {}", info); return new UnconfiguredRendererEndpointBuilder(rendererEndpoint) .setUnconfiguredPeerEndpoint(assemblePeerEndpoint(Stream.of(peerEndpoint), context)) .setInfo(info) .build(); } private  StatusUtil(); static UnconfiguredRendererEndpoint assembleFullyNotConfigurableRendererEP(final PolicyConfigurationContext context,
                                                                                      final String info); static UnconfiguredRendererEndpoint assembleNotConfigurableRendererEPForPeer(final PolicyConfigurationContext context,
                                                                                        final PeerEndpoint peerEndpoint,
                                                                                        final String info);  }### Answer:
@Test public void testAssembleNotConfigurableRendererEPForPeer() throws Exception { final PeerEndpoint peer1 = createPeer(ADDRESS_1, CONTEXT_ID_1); final PeerEndpoint peer2 = createPeer(ADDRESS_2, CONTEXT_ID_2); final RendererEndpoint rendererEP = createRendererEP(ADDRESS_1, CONTEXT_ID_1, Lists.newArrayList(peer1, peer2) ); context.setCurrentRendererEP(rendererEP); final UnconfiguredRendererEndpoint actual = StatusUtil.assembleNotConfigurableRendererEPForPeer(context, peer1, INFO_MESSAGE); compareEPs(rendererEP, actual); Assert.assertNull(actual.getUnconfiguredPeerExternalEndpoint()); Assert.assertNull(actual.getUnconfiguredPeerExternalContainmentEndpoint()); final List<UnconfiguredPeerEndpoint> unconfiguredPeerEndpoints = actual.getUnconfiguredPeerEndpoint(); Assert.assertEquals(1, unconfiguredPeerEndpoints.size()); compareEPs(peer1, unconfiguredPeerEndpoints.get(0)); Assert.assertTrue(unconfiguredPeerEndpoints.get(0).getUnconfiguredRuleGroup().isEmpty()); }