### Question:
ClientConverter { public boolean isEncodedMemberId(String encodedId) { int separators = FormatUtils.countOccurences(encodedId, Converters.ENCODED_ID_SEPARATOR); return separators == MEMBER_CODE_INDEX; } @Autowired  ClientConverter(GlobalConfFacade globalConfFacade,
            CurrentSecurityServerId securityServerOwner,
            CurrentSecurityServerSignCertificates currentSecurityServerSignCertificates); Client convert(ClientType clientType); List<Client> convert(Iterable<ClientType> clientTypes); String convertId(ClientId clientId); String convertId(ClientId clientId, boolean includeType); ClientId convertId(String encodedId); List<ClientId> convertIds(List<String> encodedIds); Client convertMemberInfoToClient(MemberInfo memberInfo); List<Client> convertMemberInfosToClients(List<MemberInfo> memberInfos); boolean isEncodedSubsystemId(String encodedId); boolean isEncodedMemberId(String encodedId); boolean isEncodedClientId(String encodedId); static final int INSTANCE_INDEX; static final int MEMBER_CLASS_INDEX; static final int MEMBER_CODE_INDEX; static final int SUBSYSTEM_CODE_INDEX; }### Answer:
@Test public void isEncodedMemberId() throws Exception { assertTrue(clientConverter.isEncodedMemberId("XRD2:GOV:M4")); assertFalse(clientConverter.isEncodedMemberId("XRD2:GOV:M4:SS1")); }