org.fest.assertions.Assertions.assertThat-sorg.fest.assertions.api.Assertions.assertThat-s



Project square/retrofit in file ...25/io.src.test.java.retrofit.io.TypedFileTest.java (2012-10-24)
@@ -7,7 +7,7 @@ import java.io.File;
 import java.io.FileOutputStream;
 import java.io.IOException;
 
-import static org.fest.assertions.Assertions.assertThat;
+import static org.fest.assertions.api.Assertions.assertThat;
 
 /** @author Eric Burke (eric@squareup.com) */
 public class TypedFileTest {
@@ -42,7 +42,7 @@ public class TypedFileTest {
 
       writeToFile(tempFile, new byte[]{0, 1, 2, 3, 4});
 
-      assertThat(tempFile).hasSize(5);
+      assertThat(tempFile.length()).isEqualTo(5);
       assertThat(typedFile.length()).isEqualTo(5);
 
     } finally {
Project square/otto in file ...areup.otto.outside.AnnotatedHandlerFinderTest.java (2012-09-05)
@@ -30,7 +30,7 @@ import java.util.ArrayList;
 import java.util.List;
 
 import static junit.framework.Assert.fail;
-import static org.fest.assertions.Assertions.assertThat;
+import static org.fest.assertions.api.Assertions.assertThat;
 
 /**
  * Test that Bus finds the correct handlers.
Project square/otto in file ...reup.otto.outside.AnnotatedProducerFinderTest.java (2012-09-05)
@@ -27,7 +27,7 @@ import java.util.Arrays;
 import java.util.List;
 
 import static junit.framework.Assert.assertEquals;
-import static org.fest.assertions.Assertions.assertThat;
+import static org.fest.assertions.api.Assertions.assertThat;
 
 /**
  * Test that Bus finds the correct producers.
Project square/retrofit in file ...p.src.test.java.retrofit.http.RestAdapterTest.java (2012-10-24)
@@ -38,7 +38,7 @@ import static org.easymock.EasyMock.expectLastCall;
 import static org.easymock.EasyMock.isA;
 import static org.easymock.EasyMock.replay;
 import static org.easymock.EasyMock.verify;
-import static org.fest.assertions.Assertions.assertThat;
+import static org.fest.assertions.api.Assertions.assertThat;
 
 public class RestAdapterTest {
   private static final String ID = "123";
Project square/retrofit in file ....src.test.java.retrofit.io.TypedByteArrayTest.java (2012-10-24)
@@ -3,7 +3,7 @@ package retrofit.io;
 
 import org.junit.Test;
 
-import static org.fest.assertions.Assertions.assertThat;
+import static org.fest.assertions.api.Assertions.assertThat;
 
 
 /** @author Eric Burke (eric@squareup.com) */