@Test
public void testLastFirstMiddle() throws Exception {

	_setUpLanguageUtil("last-name,first-name,middle-name");
	Assert.assertEquals(
		"LF",
		_userInitialsGenerator.getInitials(
			_LOCALE, _FIRST_NAME, _MIDDLE_NAME, _LAST_NAME));
	Assert.assertEquals(
		"FM",
		_userInitialsGenerator.getInitials(
			_LOCALE, _FIRST_NAME, _MIDDLE_NAME, null));
	Assert.assertEquals(
		"LM",
		_userInitialsGenerator.getInitials(
			_LOCALE, null, _MIDDLE_NAME, _LAST_NAME));
	Assert.assertEquals(
		"LF",
		_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));
}