assert API