@Test
public void testDataProviderFrameworkMethod() {

    // Given:
    final int idx = 10;
    final Object[] parameters = new Object[] { null, "1", 2L };
    final String nameFormat = "%cm";
    // When:
    DataProviderFrameworkMethod underTest = new DataProviderFrameworkMethod(method, idx, parameters, nameFormat);
    // Then:
    assertThat(underTest).isNotNull();
    assertThat(underTest.getMethod()).isEqualTo(method);
    assertThat(underTest.idx).isEqualTo(idx);
    assertThat(underTest.parameters).isEqualTo(parameters);
    assertThat(underTest.nameFormat).isEqualTo(nameFormat);
}