Package org.apache.storm.testing
Class MockedSources
java.lang.Object
org.apache.storm.testing.MockedSources
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMockData(String spoutId, String streamId, Values... valueses) add mock data for the spout.voidaddMockData(String spoutId, Values... valueses) getData()
-
Constructor Details
-
MockedSources
public MockedSources() -
MockedSources
-
-
Method Details
-
addMockData
add mock data for the spout.- Parameters:
spoutId- the spout to be mockedstreamId- the stream of the spout to be mockedvalueses- the mocked data
-
addMockData
-
getData
-