Skip to content

Instantly share code, notes, and snippets.

View michaelajr's full-sized avatar

Michael Andrews michaelajr

View GitHub Profile
@michaelajr
michaelajr / MessageTest_constructor.java
Created May 26, 2018 17:16
Maven For Pipelining, Part 3
package com.eoniantech.echoapi.domain.model;
import org.junit.Test;
/**
* Test class for the {@link Message} model's constructor.
*
* @author Michael Andrews <[email protected]>
* @since 1.0
*/
@michaelajr
michaelajr / MessageTest_equals.java
Created May 26, 2018 17:18
Maven For Pipelining, Part 3
package com.eoniantech.echoapi.domain.model;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Before;
import org.junit.Test;
/**
* Test class for the {@link Message} model's equals method.
*
@michaelajr
michaelajr / EchoResourceIT_echo.java
Created May 26, 2018 17:46
Maven For Pipelining, Part 3
package com.eoniantech.echoapi.portadaptor.rest;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.Invocation;
import javax.ws.rs.client.WebTarget;
import javax.ws.rs.core.Response;
import static org.junit.Assert.assertEquals;
import org.junit.BeforeClass;
import org.junit.Test;