@Test
public void testToTag() throws Exception {

    assertToTag("@foo bar", "foo", "bar");
    assertToTag("@ foo bar", "foo", "bar");
    assertToTag("@ foo    bar", "foo", "bar");
    assertToTag("@ foo    bar     ", "foo", "bar");
    assertToTag("@   foo    bar     ", "foo", "bar");
}