@Test
public void testConstructor() throws Exception {

  assertEquals(
      BinlogFilePos.fromString("mysql-bin-changelog.000218:14:6"),
      new BinlogFilePos("mysql-bin-changelog.000218", 14, 6));
  assertEquals(new BinlogFilePos(80887L), new BinlogFilePos("mysql-bin-changelog.080887"));
  assertEquals(new BinlogFilePos(1080887L), new BinlogFilePos("mysql-bin-changelog.1080887"));
}