Package cucumber.runtime.arquillian.test

Source Code of cucumber.runtime.arquillian.test.BellyTest

package cucumber.runtime.arquillian.test;

import cucumber.runtime.arquillian.domain.Belly;
import org.junit.Test;

import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;

public class BellyTest {
    @Test
    public void shouldBeHungry() {
        Belly belly = new Belly();
        belly.setCukes(0);
        assertTrue(belly.isHungry());
    }

    @Test
    public void shouldNotBeHungry() {
        Belly belly = new Belly();
        belly.setCukes(1);
        assertFalse(belly.isHungry());
    }
}
TOP

Related Classes of cucumber.runtime.arquillian.test.BellyTest

TOP
Copyright © 2018 www.massapi.com. 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.