提交 5396f515 编写于 作者: J Jesse Glick

1197e0ce required mocking Item.getName().

上级 1d3f1df0
......@@ -182,6 +182,7 @@ public class ListJobsCommandTest {
final TopLevelItem item = mock(TopLevelItem.class);
when(item.getName()).thenReturn(name);
when(item.getDisplayName()).thenReturn(name);
return item;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册