Fix AbstractBinderTests to populate properties
Some tests in `AbstractBinderTests` are rely on the partition header, but that one can be populated only by the `PartitionInterceptor`. To allow it we need to provide appropriate producer properties, like `partitionKeyExpression`. * Populate test-based `ProducerProperties` to the `createBindableChannel()` where `PartitionInterceptor` is populated * Fix `checkstyle.xml` static imports rule for Mockito-2.x as the current base line Fix for the proper `BindingProperties` usage
This commit is contained in:
committed by
Gary Russell
parent
6d22d039dd
commit
7d2e3a3815
@@ -85,7 +85,12 @@
|
||||
<module name="AvoidStarImport"/>
|
||||
<module name="AvoidStaticImport">
|
||||
<property name="excludes"
|
||||
value="org.junit.Assert.*,org.mockito.Mockito.*,org.mockito.Matchers.*,org.hamcrest.Matchers.*,org.assertj.core.api.Assertions.*"/>
|
||||
value="org.junit.Assert.*,
|
||||
org.mockito.Mockito.*,
|
||||
org.mockito.BDDMockito.*,
|
||||
org.mockito.ArgumentMatchers.*,
|
||||
org.hamcrest.Matchers.*,
|
||||
org.assertj.core.api.Assertions.*"/>
|
||||
</module>
|
||||
<module name="FallThrough"/>
|
||||
<module name="ImportOrder">
|
||||
|
||||
Reference in New Issue
Block a user