Assert that an instantiated composed sampler exposes correct composite properties and methods.
Composite) – User-made dimod composed sampler.
AssertionError – If the given sampler does not match the composite API.
Compositefor the abstract base class that defines the composite API.
assert_sampler_apito assert that the composed sampler matches the sampler API.