@Test(dataProvider = "longestStrings")
public void test(String string1, String string2, int expectedLongestCommonSubsequenceLength) {

    assertEquals(LongestCommonSubsequence.longestCommonSequence(string1, string2),
            expectedLongestCommonSubsequenceLength );
}