}
@DataProvider
public Object[][] provideGoodSamples() {
return new Object[][]{
row("myObject id my-object", "myObject", new Locator("id", "my-object")),
row("myObject\tid\tmy-object", "myObject", new Locator("id", "my-object")),
row("myObject xpath //div[@name = \"auto's\"]", "myObject", new Locator("xpath", "//div[@name = \"auto's\"]")),
row("myObject whatEver sas fas f 3r 32r 1qwr ", "myObject", new Locator("whatEver", "sas fas f 3r 32r 1qwr")),
row("my-object-123 css .container div:first-child()", "my-object-123", new Locator("css", ".container div:first-child()")),
row("my-object-123 css #qwe", "my-object-123", new Locator("css", "#qwe")),
row("my-object-123 @(0,0,-1,-1) css #qwe", "my-object-123", new Locator("css", "#qwe").withCorrections(simpleCorrectionRect(0, 0, -1, -1))),
row("my-object-123 @ (0,0,-1,-1) css #qwe", "my-object-123", new Locator("css", "#qwe").withCorrections(simpleCorrectionRect(0, 0, -1, -1))),
row("my-object-123 @(10, 20, +5, +30) css #qwe", "my-object-123", new Locator("css", "#qwe").withCorrections(simpleCorrectionRect(10, 20, 5, 30))),
row("my-object-123 @ ( 0 , 0 , 4, -5 ) css #qwe", "my-object-123", new Locator("css", "#qwe").withCorrections(simpleCorrectionRect(0, 0, 4, -5))),
row("my-object-123 @ ( 0 , 0 , =40, =30 ) css #qwe", "my-object-123",
new Locator("css", "#qwe").withCorrections(
new CorrectionsRect(new CorrectionsRect.Correction(0, CorrectionsRect.Type.PLUS),
new CorrectionsRect.Correction(0, CorrectionsRect.Type.PLUS),
new CorrectionsRect.Correction(40, CorrectionsRect.Type.EQUALS),
new CorrectionsRect.Correction(30, CorrectionsRect.Type.EQUALS)))),
};