Raise exception if a method is not implemented

This way we avoid side effects of mock implementations like
segmentation violation caused by NULL pointers

Change-Id: Iec63039558436c5e620105424ebdcc0d1aa4f9e6