Removed mock functionality from the expect syntax