@Test(expected = UserEmailAddressException.MustNotUseCompanyMx.class)
public void testStrangersNotAllowedToCreateAccountsWithCompanyMx()
	throws Exception {

	when(
		_company.isStrangers()
	).thenReturn(
		true
	);
	when(
		_company.isStrangersWithMx()
	).thenReturn(
		false
	);
	_defaultUserResolver.importUser(
		1, _SUBJECT_NAME_IDENTIFIER_EMAIL_ADDRESS, "emailAddress",
		new UserResolverSAMLContextImpl(_messageContext),
		new ServiceContext());
}