Package br.com.objectos.comuns.io

Examples of br.com.objectos.comuns.io.EntityToString


    this.entities = ImmutableList.copyOf(entities);
  }

  public void test() {
    List<Entity> fakes = ImmutableList.of(FakeEntities.LINE_1, FakeEntities.LINE_2);
    List<String> expected = transform(fakes, new EntityToString());

    List<String> res = transform(entities, new EntityToString());
    assertThat(res.size(), equalTo(2));
    assertThat(res, equalTo(expected));
  }
View Full Code Here


    this.entities = ImmutableList.copyOf(entities);
  }

  public void test() {
    List<Entity> fakes = ImmutableList.of(FakeEntities.LINE_1);
    List<String> expected = transform(fakes, new EntityToString());

    List<String> res = transform(entities, new EntityToString());
    assertThat(res.size(), equalTo(1));
    assertThat(res, equalTo(expected));
  }
View Full Code Here

    this.entities = ImmutableList.copyOf(entities);
  }

  public void test() {
    List<Entity> fakes = ImmutableList.of(FakeEntities.LINE_1, FakeEntities.LINE_2);
    List<String> expected = transform(fakes, new EntityToString());

    List<String> res = transform(entities, new EntityToString());
    assertThat(res.size(), equalTo(2));
    assertThat(res, equalTo(expected));
  }
View Full Code Here

    this.entities = ImmutableList.copyOf(entities);
  }

  public void test() {
    List<Entity> fakes = ImmutableList.of(FakeEntities.LINE_1, FakeEntities.LINE_2);
    List<String> expected = transform(fakes, new EntityToString());

    List<String> res = transform(entities, new EntityToString());
    assertThat(res.size(), equalTo(2));
    assertThat(res, equalTo(expected));
  }
View Full Code Here

    this.entities = ImmutableList.copyOf(entities);
  }

  public void test() {
    List<Entity> fakes = ImmutableList.of(FakeEntities.LINE_1, FakeEntities.LINE_2);
    List<String> expected = transform(fakes, new EntityToString());

    List<String> res = transform(entities, new EntityToString());
    assertThat(res.size(), equalTo(2));
    assertThat(res, equalTo(expected));
  }
View Full Code Here

    this.entities = ImmutableList.copyOf(entities);
  }

  public void test() {
    List<Entity> fakes = ImmutableList.of(FakeEntities.LINE_1, FakeEntities.LINE_2);
    List<String> expected = transform(fakes, new EntityToString());

    List<String> res = transform(entities, new EntityToString());
    assertThat(res.size(), equalTo(2));
    assertThat(res, equalTo(expected));
  }
View Full Code Here

    this.entities = ImmutableList.copyOf(entities);
  }

  public void test() {
    List<Entity> fakes = ImmutableList.of(FakeEntities.LINE_1, FakeEntities.LINE_2);
    List<String> expected = transform(fakes, new EntityToString());

    List<String> res = transform(entities, new EntityToString());
    assertThat(res.size(), equalTo(2));
    assertThat(res, equalTo(expected));
  }
View Full Code Here

TOP

Related Classes of br.com.objectos.comuns.io.EntityToString

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.