An experimental method using protocols to define expectations of an API.