Adds the specified content source to the database but does not attempt to create or start the server-side plugin provider implementation associated with it. This should only be used for test purposes.
@param subject may not be null
@param contentSource may not be null
@return instance after being persisted; will contain a populated ID value
@throws ContentSourceException if the content source cannot be created, such as if the data inthe given object are not valid
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.