#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package};
import org.junit.Test;
import static org.hamcrest.CoreMatchers.*;
import static org.hamcrest.MatcherAssert.assertThat;
/**
* Unit tests for the {@link PhoneCall} class.
*/
public class PhoneCallTest {
@Test(expected = UnsupportedOperationException.class)
public void getStartTimeStringNeedsToBeImplemented() {
PhoneCall call = new PhoneCall();
call.getStartTimeString();
}
@Test
public void initiallyAllPhoneCallsHaveTheSameCallee() {
PhoneCall call = new PhoneCall();
assertThat(call.getCallee(), containsString("not implemented"));
}
@Test
public void forProject1ItIsOkayIfGetStartTimeReturnsNull() {
PhoneCall call = new PhoneCall();
assertThat(call.getStartTime(), is(nullValue()));
}
}