Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
katerina20 committed Nov 7, 2024
1 parent 09ea61d commit 45db7aa
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,16 @@
import static org.mockito.Mockito.verify;

class BundleBrowseSubcommandTest extends PicocliTestUtils {

@Test
public void testProjectBrowse() {
public void testBundleBrowse() {
this.execute(CommandNames.BUNDLE, CommandNames.BROWSE, "1");
verify(actionsMock).bundleBrowse(any(), any());
this.check(true);
}

@Test
public void testBundleBrowseInvalidOptions() {
this.executeInvalidParams(CommandNames.BUNDLE, CommandNames.BROWSE);
}
}

0 comments on commit 45db7aa

Please sign in to comment.