@Target(value=METHOD) @Retention(value=RUNTIME) @Inherited @Documented public @interface BeforeObjects
BeforeObjects annotation can be used to identify a method
that will be invoked before the test methods in order to pre-populate the
database with the pojos returned by the method.
The referenced method must be public. It can return an array, a Collection,
an Iterable, an Iterator, an Enumeration, or a
Stream of pojo objects or a single object to insert in the database.
Finally, if it is declared with a single parameter of type
Map<String, String> the Helenus JUnit framework will provide
access to each keyspace key values based on the corresponding keyspace key types. It
is therefore possible that the method be called multiple times; once per set
of keyspace key values. The keyspace key values are computed from the
PartitionKeyValues annotation provided for the test method and class.
public abstract String[] value
Copyright (C) 2015-2017 The Helenus Driver Project Authors.