import { testMessageComponent } from '../../../tests/formModules';
import Context from './Context';
import {
  RegisterFormAlreadyRegisteredMessage,
} from './RegisterFormAlreadyRegisteredMessage';

describe('RegisterFormAlreadyRegisteredMessage component', () => {
  testMessageComponent(
    RegisterFormAlreadyRegisteredMessage,
    'RegisterFormAlreadyRegisteredMessage',
    Context,
    'error',
    'registered',
    { error: true }
  );
});
