juit 用assertThat 提示我找不到符号
代码如下,用的是intelij idea社区版。import org.junit.Test;
import static org.junit.Assert.assertThat;
import static sun.nio.cs.Surrogate.is;
public class PlayerTest {
public void should_return_3_when_status_is_3(){
Player player = new Player();
assertThat(player.getStatus(),is(3));
}
}
提示错误
`找不到符号
符号: 方法 assertThat(int,boolean)
位置: 类 PlayerTest`
项目的IML文件如下<?xml version="1.0" encoding="UTF-8"?>
相关阅读:
下面代码哪里有问题啊 老是取不到input值?
node 服务器怎么获取 进入链接的 端口号?
IE9浏览器bug,鼠标经过div的style="overflow: auto下的table,div会不断长高。
怎么写出可扩展性的代码?
一个奇特的代码
关于wordpress带?ver=的资源403错误的问题
android不同设备得到经纬度坐标相差很远
如图,myeclipse的svn插件是不是没法更新啊?
微信浏览器输入框输入不了
Sublime Text 3自定义片段无效
ie7中的问题!大神请看图!
VC能否通过发送消息机制去获取其他程序TMS的TAdvStringGrid控件内容?
express4 ejs模板 include 相对路径问题 ?
为什么无法给select设置padding?
在Flask中如何自定义TextAreaField的rows和cols且将表单渲染为bootstrap的样式?
C++内部类有关构造函数的问题
js中的隐士类型转化??
什么工具可以记录windows系统所有行为日志?
对单表大量数据进行报表汇总有什么高效的方法
recyclerview的setadapter方法不起作用