@Test
public void buildMessageName_sameNameWithCounter_nonUniqueName() {

    NamesProviderImpl namesProvider = new NamesProviderImpl();
    namesProvider.buildMessageName("testMethod");
    Assert.assertEquals("TestMethodMessage1", namesProvider.buildMessageName("testMethod"));
}