@Test
public void testFirstMiddleLast() throws Exception {

	_setUpLanguageUtil("first-name,middle-name,last-name");
	Assert.assertEquals(
		"FM",
		_userInitialsGenerator.getInitials(
			_LOCALE, _FIRST_NAME, _MIDDLE_NAME, _LAST_NAME));
	Assert.assertEquals(
		"FM",
		_userInitialsGenerator.getInitials(
			_LOCALE, _FIRST_NAME, _MIDDLE_NAME, null));
	Assert.assertEquals(
		"ML",
		_userInitialsGenerator.getInitials(
			_LOCALE, null, _MIDDLE_NAME, _LAST_NAME));
	Assert.assertEquals(
		"FL",
		_userInitialsGenerator.getInitials(
			_LOCALE, _FIRST_NAME, null, _LAST_NAME));
	Assert.assertEquals(
		"F",
		_userInitialsGenerator.getInitials(
			_LOCALE, _FIRST_NAME, null, null));
	Assert.assertEquals(
		"M",
		_userInitialsGenerator.getInitials(
			_LOCALE, null, _MIDDLE_NAME, null));
	Assert.assertEquals(
		"L",
		_userInitialsGenerator.getInitials(
			_LOCALE, null, null, _LAST_NAME));
}