import {User} from './user';

describe('User', () => {
  let user:User;

  beforeEach(() => {
    user = new User();
  });

  it('has id === 42', () => {
    expect(user.id).toEqual(42);
  });

  it('has an email address', () => {
    expect(user.email.length).toBeGreaterThan(0);
  });

});