T- The "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation" for more details.
public interface AssertOnNumberOfChanges<T extends AssertOnNumberOfChanges<T>>
T hasNumberOfChanges(int expected)
Example where the assertion verifies that there are 8 changes :
Copyright © 2015 AssertJ. All Rights Reserved.