bobalicious / amoss

Amoss - Apex Mock Objects, Spies and Stubs - A Simple Mocking framework for Apex (Salesforce)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Amoss_Assert.getType is broken

bobalicious opened this issue · comments

If getType is passed a List of SObject, it incorrectly states that it is an SObject, and then tries to determine its type (which fails, because it's not).

Write tests for the whole of getType and ensure that it correctly returns the data type.