import React from 'react';

import AccountInformation from './index';

const data = {
  email: {
    label: 'label',
    value: 'value',
  },
  firstName: {
    label: 'label',
    value: 'value',
  },
  lastName: {
    label: 'label',
    value: 'value',
  },
  company: {
    label: 'label',
    value: 'value',
  },
  street: {
    label: 'label',
    value: 'value',
  },
  streetNo: {
    label: 'label',
    value: 'value',
  },
  additionalInformation: {
    label: 'label',
    value: 'value',
  },
  zip: {
    label: 'label',
    value: 'value',
  },
  city: {
    label: 'label',
    value: 'value',
  },
  phone: {
    label: 'label',
    value: 'value',
  },
};

describe('AccountInformation', () => {
  const defaultElement = <AccountInformation {...data} />;
  let wrapper;

  beforeEach(() => {
    wrapper = shallow(defaultElement);
  });

  it('should render correctly', () => {
    expect(wrapper).toMatchSnapshot();
  });
});
