def get_mock_component(name="<STR_LIT>",<EOL>config=get_mock_config(),<EOL>python_cls="<STR_LIT>"):
component = topology_pb2.Component()<EOL>component.name = name<EOL>component.spec = topology_pb2.ComponentObjectSpec.Value("<STR_LIT>")<EOL>component.class_name = python_cls<EOL>component.config.CopyFrom(config)<EOL>return component<EOL>
Returns a mock protobuf Component object from topology_pb2