Test Case Method Identifier
getArray
Test Items
The purpose of the test is to check that the method getArray() actually returns the right array of attributes from the graph.
Input Specification
To test the method, we created a SingleGraph (in the setup() method) and created a new attribute for this graph by using the addAttribute method. We created 2 different cases: the first with multiple values for the attribute, and the second with just one value for the attribute.
Output Specification
Assert that the array of values for the attribute has the right length for the first test case, and that no array is created for the second one.