Static expects is now deprecated