TellUnit testing with Java, day by day · Day 3
An AI-generated test often mirrors the implementation’s shape and picks an assertion that confirms activity: non-null, non-empty, or no exception. Review it by proposing a wrong result that still satisfies the assertion. If you find one that violates the written rule, strengthen the observation rather than adding unrelated checks.