@Test
public void testValidMatch() {

	MatchFunction matchFunction = new MatchFunction();
	Boolean result = matchFunction.apply(
		"test@liferay.com", "\\S+@\\S+\\.\\S+");
	Assert.assertTrue(result);
}