The test assumes some symmetry.  I pass in a String as my identifier, and I
get back a String - logical, no?

Are you saying that you transform the String that the user supplies to a
custom type, such that when they call id() they don't get a String?

On Wed, Dec 9, 2015 at 12:58 AM, Jonathan Ellithorpe <[email protected]>
wrote:

> Hello,
>
> I've implemented support for being able to supply String type user supplied
> IDs, and being able to retrieve vertices based on a given String type
> supplied ID. However, I am failing the following test:
>
> shouldAddVertexWithUserSuppliedStringId
>
> Because the test is testing to see if:
>
> assertEquals("1000", v.id());
>
> It seems that the test is assuming that v.id() is a String, which it isn't
> for my implementation, it's a custom type. Why is the test assuming that
> v.id() returns a String?
>
> Best,
> Jonathan
>

Reply via email to