Back to project page droidcon-android-espresso.
The source code is released under:
Apache License
If you think the Android project droidcon-android-espresso listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.xrigau.droidcon.core.model; /*from w ww . jav a 2 s . co m*/ import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; public class PostShould { @Test public void createPostUsingBuilder() { String expectedId = "someId"; Post post = new Post.Builder().id(expectedId).build(); assertNotNull(post); assertEquals(expectedId, post.getId()); } }