@Test
public void testGetNameShouldCallAllPlaceholdersProcessInOrder() {

    // Given:
    final Object[] parameters = new Object[] { 719, "719" };
    BasePlaceholder placeholder2 = mock(BasePlaceholder.class);
    BasePlaceholder placeholder3 = mock(BasePlaceholder.class);
    Placeholders.all().clear();
    Placeholders.all().add(placeholder);
    Placeholders.all().add(placeholder2);
    Placeholders.all().add(placeholder3);
    when(placeholder.process(any(String.class))).thenReturn("%cm2");
    when(placeholder2.process(any(String.class))).thenReturn("%cm3");
    when(placeholder3.process(any(String.class))).thenReturn("%cm4");
    DataProviderFrameworkMethod underTest = new DataProviderFrameworkMethod(method, 21, parameters, "%cm1");
    // When:
    String result = underTest.getName();
    // Then:
    assertThat(result).isEqualTo("%cm4");
    InOrder inOrder = inOrder(placeholder, placeholder2, placeholder3);
    inOrder.verify(placeholder).setContext(method, 21, parameters);
    inOrder.verify(placeholder).process("%cm1");
    inOrder.verify(placeholder2).setContext(method, 21, parameters);
    inOrder.verify(placeholder2).process("%cm2");
    inOrder.verify(placeholder3).setContext(method, 21, parameters);
    inOrder.verify(placeholder3).process("%cm3");
    verifyNoMoreInteractions(placeholder, placeholder2, placeholder3);
}