// Path: javabank-core/src/main/java/org/mbtest/javabank/http/responses/Inject.java
// public class Inject extends Response {
//     private static final String INJECT = "inject";
// 
//     public Inject() {
//         this.put(INJECT, "");
//     }
// 
//     public Inject withFunction(String function) {
//         this.put(INJECT, function);
//         return this;
//     }
// }


import org.junit.Before;
import org.junit.Test;
import org.mbtest.javabank.http.responses.Inject;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.core.Is.is;
import static org.mockito.Mockito.mock;
package org.mbtest.javabank.fluent;



public class InjectBuilderTest {

    private InjectBuilder injectBuilder;

    @Before
    public void setUp() throws Exception {
        injectBuilder = new InjectBuilder(mock(ResponseBuilder.class));
    }

    @Test
    public void shouldBuildAnInjectWithAFunction() throws Exception {
        String injection = "some function";
// Path: javabank-core/src/main/java/org/mbtest/javabank/http/responses/Inject.java
// public class Inject extends Response {
//     private static final String INJECT = "inject";
// 
//     public Inject() {
//         this.put(INJECT, "");
//     }
// 
//     public Inject withFunction(String function) {
//         this.put(INJECT, function);
//         return this;
//     }
// }


// Path: javabank-core/src/test/java/org/mbtest/javabank/fluent/InjectBuilderTest.java
import org.junit.Before;
import org.junit.Test;
import org.mbtest.javabank.http.responses.Inject;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.core.Is.is;
import static org.mockito.Mockito.mock;

package org.mbtest.javabank.fluent;



public class InjectBuilderTest {

    private InjectBuilder injectBuilder;

    @Before
    public void setUp() throws Exception {
        injectBuilder = new InjectBuilder(mock(ResponseBuilder.class));
    }

    @Test
    public void shouldBuildAnInjectWithAFunction() throws Exception {
        String injection = "some function";
        Inject expectedInject = new Inject().withFunction(injection);