Adopt AssertJ Byte assertions

MSAL

Adopt AssertJ Byte assertions. Favor semantically explicit methods (e.g. myByte.isZero() over myByte.isEqualTo(0)).

org.openrewrite.java.testing.assertj.AssertJByteRulesRecipes
mod run . --recipe=org.openrewrite.java.testing.assertj.AssertJByteRulesRecipes

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Replace isCloseTo with isEqualTo
  2. Replace isNotCloseTo with isNotEqualTo
  3. Replace isEqualTo(0) with isZero()
  4. Replace isNotEqualTo(0) with isNotZero()
  5. Replace isEqualTo(1) with isOne()