> + assert ruleStartPort(10).apply(ruleRef);
> + }
> +
> + @Test
> + public void testRuleStartPortWhenNotEqual() {
> + assert !ruleStartPort(50).apply(ruleRef);
> + }
> +
> + @Test
> + public void testRuleEndPortWhenEqual() {
> + assert ruleEndPort(20).apply(ruleRef);
> + }
> +
> + @Test
> + public void testRuleEndPortWhenNotEqual() {
> + assert !ruleEndPort(50).apply(ruleRef);
Why `assert` here rather than `assertTrue(..., message)`?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/144/files#r6344808